
   <html>
   <head>
   <style type=text/css>
   body { font-size: 10pt; font-family: Arial; }
   table { width: 70%;font-size: 10pt; font-family: Arial; 
           overflow: auto; border-spacing:0;border-collapse:collapse}
   td { font-size: 10pt; font-family: Arial; border: solid 1px black;}
   td.t { font-size: 10pt; font-family: Arial; border: solid 1px black; 
          background: lightgrey; }
   A:link {text-decoration: none; color: darkblue}
   A:visited {text-decoration: none; color: darkblue}
   A:active {text-decoration: none; color: darkblue}
   A:hover {text-decoration: none; color: darkgray;}
   </style>
   </head>
   <body>
   
<h1>&lt;coelacanth/hashtable.h&gt;</h1>
Sample File: <a href='hashtable.c.html'>hashtable.c</a><br><br>
<table><tr><td class="t" colspan="2"><b> hashtable(varname, tablesize, type)</b></td></tr>
<tr><td colspan="2"><i> Create a hashtable variable</i></td></tr>
<tr><td width="30%"><font color="#27406d">param</font>  varname</td><td> variable name</td></tr>
<tr><td width="30%"><font color="#27406d">param</font>  tablesize</td><td> size of hastable</td></tr>
<tr><td width="30%"><font color="#27406d">param</font>  type</td><td> type of hashtable elements</td></tr>
<tr><td><font color="#6d4d00">return</font></td><td> no <font color="#6d4d00">return</font> value</td></tr></table><br>
<table><tr><td class="t" colspan="2"><b> hashtable_ptr(varname, tablesize, type)</b></td></tr>
<tr><td colspan="2"><i> Pointer to hashtable variable</i></td></tr>
<tr><td width="30%"><font color="#27406d">param</font>  varname</td><td> variable name</td></tr>
<tr><td width="30%"><font color="#27406d">param</font>  tablesize</td><td> size of hastable</td></tr>
<tr><td width="30%"><font color="#27406d">param</font>  type</td><td> type of hashtable elements</td></tr>
<tr><td><font color="#6d4d00">return</font></td><td> no <font color="#6d4d00">return</font> value</td></tr></table><br>
<table><tr><td class="t" colspan="2"><b> hashtable_set(varname, varkey, varvalue)</b></td></tr>
<tr><td colspan="2"><i> Adds key-value pair to hashtable</i></td></tr>
<tr><td width="30%"><font color="#27406d">param</font>  varname</td><td> variable name</td></tr>
<tr><td width="30%"><font color="#27406d">param</font>  varkey</td><td> key identifier</td></tr>
<tr><td width="30%"><font color="#27406d">param</font>  varvalue</td><td> value </td></tr>
<tr><td><font color="#6d4d00">return</font></td><td> no <font color="#6d4d00">return</font> value</td></tr></table><br>
<table><tr><td class="t" colspan="2"><b> hashtable_get(varname, varkey, varvalue)</b></td></tr>
<tr><td colspan="2"><i> Get a key-value pair</i></td></tr>
<tr><td width="30%"><font color="#27406d">param</font>  varname</td><td> variable name</td></tr>
<tr><td width="30%"><font color="#27406d">param</font>  varkey</td><td> key identifier</td></tr>
<tr><td width="30%"><font color="#27406d">param</font>  varvalue</td><td> value </td></tr>
<tr><td><font color="#6d4d00">return</font></td><td> no <font color="#6d4d00">return</font> value</td></tr></table><br>
<table><tr><td class="t" colspan="2"><b> hashtable_free(varname)</b></td></tr>
<tr><td colspan="2"><i> free memory allocated by hashtable_*() functions</i></td></tr>
<tr><td width="30%"><font color="#27406d">param</font>  varname</td><td> variable name</td></tr>
<tr><td><font color="#6d4d00">return</font></td><td> no <font color="#6d4d00">return</font> value</td></tr></table><br>
</body></html>
